Can I add myself to group `root'?
Posted
by
kev
on Ask Ubuntu
See other posts from Ask Ubuntu
or by kev
Published on 2012-11-07T04:35:56Z
Indexed on
2012/11/07
5:15 UTC
Read the original article
Hit count: 353
permissions
$ id
uid=1000(kev) gid=1000(kev) groups=1000(kev),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
$ ls -l /etc/sudoers
-r--r----- 1 root root 723 Jan 31 2012 /etc/sudoers
$ sudo adduser kev root
Adding user `kev' to group `root' ...
Adding user kev to group root
Done.
$ cat /etc/sudoers
cat: /etc/sudoers: Permission denied
After adding myself(kev
) to group root
, I still cannot read /etc/sudoers
.
I don't know why. Thanks for your help.
© Ask Ubuntu or respective owner